﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace doris {
    public class UserClass {
        DorisMembershipProvider member = new DorisMembershipProvider();

        public String createUser(String Username, String Email, String Password) {
            MembershipCreateStatus mStatus = new MembershipCreateStatus();
            MembershipUser m = member.CreateUser(Username, Password, Email, "", "", true, null, out mStatus);
            return m.ProviderUserKey.ToString();
        }
    }
}